package com.caochenlei.adapter.classAdapter;

public class PhoneTest {
    public static void main(String[] args) {
        //创建一部手机
        Phone phone = new Phone();
        //用充电器充电
        phone.charging(new VoltageAdapter());
    }
}
